home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 8_10.lha / 8_10 / 8_10b4.c < prev    next >
Text File  |  1993-08-08  |  324b  |  13 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. BJrandomloc OBJrandomloc::operator=(OBJ newobj)
  6.  
  7.    if (!eputobj(rOBJ->rfp, thisoffset,
  8.      &newobj, sizeof newobj))
  9. if (rOBJ->wtrfnc)
  10.     (*rOBJ->wtrfnc)(&newobj);
  11.    return *this;
  12.  
  13.